import React from 'react'
import axios from "axios"

export default function ForgetPassword() {
    const fetchData =async () => {
        const res = await axios({
            url:"http://xawn.x3322.net:8012/login",
            method:"POST",
            data:"username=mrbird&password=1234qwer"
        })
        console.log(res);
    }
    return (
        <div>
            <h3>ForgetPassword</h3>
            <button onClick={fetchData}>测试接口</button>
        </div>
    )
}
